package org.hzy.dao;

import org.hibernate.Transaction;
import org.hzy.entity.Emp;

public class EmpImpl extends BaseDao<Emp>{
	public static void main(String[] args) {
		EmpImpl em=new EmpImpl();
		Transaction t=em.getSession().beginTransaction();
		Emp emp=em.get_object(7369);
		System.out.println(emp.getEname());
		t.commit();
	}
}
